<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>Login</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style type="text/css">
	body{
	background-image:url(static/images/bg.jpg);
	font-family:微软雅黑;
	}
	.login_box{
		float:left;
		width:25%;
		height:33%;
		padding:3em;
		margin-top:10%;
		margin-left:35%;
		border:1px solid gray;
		filter:alpha(opacity=80);
		opacity:0.8;
	}
	table{
		width:100%;
		height:100%;
	}
	table tr th{
		line-height:30px;
		font-size:40px;
		padding-bottom:10px;
		color:#333;
	}
	table tr td{
		line-height:50px;
		font-size:25px;
	}
	input{
		width:200px;
		height:30px;
		font-size:20px;
	}
	
	</style>

  </head>
  
  <body>

    <div >${message_login}</div>
    <div class="login_box">
    <form action="<%=request.getContextPath()%>/login" method="post">   
    <table border="0">
       <tr><th  colspan="2" >欢迎登陆</th></tr>
	   <tr><td>姓&nbsp;&nbsp;名：</td><td ><input type="text" name="username"/></td></tr>  
	   <tr><td>密&nbsp;&nbsp;码：</td><td ><input type="password" name="password"/></td></tr>  
	   <tr><td>验证码：</td>
	       <td><input type="text" name="verifyCode" style="width:100px;"/>
	   		<img id="verifyCodeImage" onclick="reloadVerifyCode()" src="<%=request.getContextPath()%>/getVerifyCode"/></td> 
	    </tr>
	    <tr>
	   		 <td colspan="2">
	   		 <input  type="submit" value="登录" style="width:80px;height:30px;background-color:gray;color:white;" />
	   		 <input type="reset" value="重置" style="width:80px;height:30px;background-color:gray;color:white;" />
	   		 </td>
	    </tr> 

   </table>
   </form>
   </div>
   


  </body>
</html>
